package com.glodon.paas.document.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.document.dao.domain.ProjectMemberAttendeesEntity;

public interface ProjectMemberAttendeesMapper {

    int deleteByPrimaryKey(String id);

    int insert(ProjectMemberAttendeesEntity record);

    int insertSelective(ProjectMemberAttendeesEntity record);
    ProjectMemberAttendeesEntity selectByPrimaryKey(String id);
    int updateStatus(@Param("userId")String userId,@Param("memberId")String memberId,@Param("status") int status);
    List<ProjectMemberAttendeesEntity>getAttendees(@Param("memberId") String memberId);
    int removeAttedees(@Param("memberId")String projectMemberId);
    ProjectMemberAttendeesEntity getAttendeeByUIDandPMID(@Param("userId")String userId,@Param("memberId")String projectMemberId);
    int updateAttendeeInvitation(@Param("id")String attendeeId, @Param("invitationId")String invitationId);
}
